Vendidero\Shiptastic\Order D

Total Complexity 436
Dependencies 23
Dependents 7
Total lines 2,242
Lines of code 1,510
Logical lines of code 814
Comment lines 336
Methods 85
Properties 4

Methods 85

Method Rating Maintainability Complexity Lines of code
create_returns_as_draft()
D
28
30 141
sync_returns_with_refunds()
C
34 29 103
create_shipments()
B
33 20 105
get_item_quantity_left_for_returning()
B
41 16 57
get_current_shipping_status()
B
46 17 38
get_item_quantity_left_for_shipping()
A
44 16 43
get_package_data()
A
41 14 55
get_packages()
A
47 14 34
validate_shipment_item_quantities()
A
45 13 40
get_pickup_delivery_args()
A
45 12 42
get_return_packages()
A
46 11 40
get_return_costs()
A
48 11 30
get_available_items_for_shipment()
A
47 10 35
get_shipments()
A
47 9 36
get_shipping_method_by_id()
A
53 9 24
get_available_items_for_return()
A
48 8 32
get_return_costs_tax_rates()
A
50 8 29
get_returnable_items()
A
53 8 21
update_shipping_status()
S
55 7 19
get_shipping_method()
S
56 6 18
get_return_status()
S
58 6 16
get_shipping_method_item_quantity()
S
58 6 15
calculate_shipment_additional_total()
S
56 5 18
save()
S
58 5 16
get_shipment_position_number()
S
58 5 14
supports_pickup_location()
S
59 5 14
get_shippable_items()
S
59 5 13
order_item_is_non_returnable()
S
61 5 12
validate_shipments()
S
56 4 20
needs_shipping()
S
55 4 20
get_refunds_map()
S
55 4 19
get_datetime_from_timestamp()
S
57 4 18
get_item_quantity_sent_by_order_item_id()
S
61 4 13
has_multiple_packages()
S
60 4 13
get_non_returnable_items()
S
59 4 13
has_auto_packing()
S
62 4 12
get_default_return_shipping_provider()
S
62 4 11
get_builtin_shipping_method()
S
64 4 11
needs_return()
S
58 3 17
get_last_shipment_without_tracking()
S
63 4 10
get_last_shipment_with_tracking()
S
63 4 10
create_returns()
S
60 3 14
has_local_pickup()
S
61 3 12
remove_shipment()
S
62 3 11
is_shipped()
S
72 3 4
get_shipping_status()
S
68 3 7
supports_third_party_email_transmission()
S
67 3 7
has_shipped_shipments()
S
66 3 9
get_order_item_product()
S
67 3 7
get_shipment()
S
65 3 9
get_simple_shipment_item()
S
67 3 8
item_needs_shipping()
S
61 2 13
item_needs_return()
S
61 2 13
get_last_tracking_id()
S
68 2 7
set_shipping_status()
S
72 2 5
get_shipping_method_items()
S
67 2 7
get_shippable_item_quantity()
S
65 2 8
get_shippable_item_count()
S
68 2 7
get_returnable_item_count()
S
67 2 7
get_shipping_method_id()
S
68 2 7
get_pickup_location_customer_number()
S
68 2 7
__call()
S
70 2 6
__construct()
S
81 1 3
get_order()
S
82 1 3
get_id()
S
81 1 3
get_date_shipped()
S
79 1 3
get_date_delivered()
S
79 1 3
get_min_age()
S
75 1 4
get_available_items_for_packing()
S
77 1 3
get_available_return_items_for_packing()
S
77 1 3
return_costs_include_taxes()
S
78 1 3
get_shipment_count()
S
79 1 3
get_simple_shipments()
S
68 1 8
get_return_shipments()
S
68 1 8
add_shipment()
S
73 1 5
get_items_to_pack_left_for_shipping()
S
75 1 4
get_selectable_items_for_shipment()
S
78 1 3
shipping_method_is_separate_package()
S
74 1 4
get_selectable_items_for_return()
S
78 1 3
get_order_return_request_key()
S
80 1 3
delete_order_return_request_key()
S
77 1 4
get_shipping_provider()
S
79 1 3
has_pickup_location()
S
74 1 4
get_pickup_location_code()
S
74 1 4
get_pickup_location_address()
S
73 1 4